import com.unipay.spring.proxy.CalculatorImpl;
import com.unipay.spring.proxy.CalculatorStaticProxy;
import org.junit.Test;

/**
 * @BelongsProject: SSM
 * @Author: cmy
 * @CreateTime: 2023-01-17  10:01
 * @Description: TODO
 */

public class StaticProxy {

    @Test
    public void staticProxy(){
        CalculatorStaticProxy staticProxy = new CalculatorStaticProxy(new CalculatorImpl());
        int add = staticProxy.add(1, 0);
//        System.out.println(add);
    }
}
